package com.hxkj.cst.chengshuitong.ui.fragment

import android.support.v7.widget.LinearLayoutManager
import android.view.View
import com.hxkj.cst.chengshuitong.R
import com.hxkj.cst.chengshuitong.base.BaseFragment
import com.hxkj.cst.chengshuitong.ui.adapter.HomeRecyclerAdapter
import kotlinx.android.synthetic.main.fragment_home.view.*

/**
 * 作者： Luoyang on 2017/5/25.
 * 描述：
 */
class HomeFragment : BaseFragment() {

    override fun provideContentView(): Int = R.layout.fragment_home

    override fun initLayout(view: View) {
        val layoutManage = LinearLayoutManager(activity)
        layoutManage.orientation = LinearLayoutManager.VERTICAL
        view.fh_rv_contain?.layoutManager = layoutManage
        view.fh_rv_contain?.adapter = HomeRecyclerAdapter(activity)
    }
}